#!/bin/bash
cd /Users/zhangpeng/Desktop/150/storage_system_cpp

# 创建输入文件
cat > /tmp/input.txt << 'EOF'
3
user
4
user
1
alice,18
5
user
0
EOF

# 运行程序并输入预设的命令
./interactive_demo < /tmp/input.txt
